package com.example.verification.service;

import com.example.verification.model.User;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author rcl
 * @date 2019/7/29 10:08
 */
public interface UserService {
    String saveUser(User user);

    User findByName(String name);

    List<User> getList();

    Page<User> getUserList(Map map);
}
